Resursbank\EcomTest\Unit\Lib\Validation\StringValidationTest S

Total Complexity 38
Dependencies 7
Dependents 0
Total lines 609
Lines of code 297
Logical lines of code 87
Comment lines 213
Methods 38
Properties 1

Methods 38

Method Rating Maintainability Complexity Lines of code
testIsUrl()
S
52 1 34
testIsTimestampConvertable()
S
53 1 27
testIsSwedishOrgPrefix()
S
56 1 24
testLengthReturnsTrue()
S
57 1 23
testIsSwedishSsnPrefix()
S
59 1 19
testIsSwedishSsnAcceptsHyphen()
S
71 1 7
testIsEmailThrowsIllegalValue()
S
76 1 4
testIsTimestampConvertableThrows()
S
76 1 4
testIsSwedishSsnThrowsInIllegal()
S
76 1 4
testIsSwedishSsn()
S
71 1 7
testIsSwedishSsnThrowsOnAlpha()
S
76 1 4
testIsSwedishSsnThrowsWithInaccurateHyphen()
S
76 1 4
testIsUuidReturnsTrue()
S
71 1 7
testIsSwedishOrgThrowsInIllegal()
S
76 1 4
testIsSwedishOrg()
S
71 1 7
testIsSwedishOrgAcceptsHyphen()
S
71 1 7
testIsSwedishOrgThrowsWithInaccurateHyphen()
S
76 1 4
testIsSwedishOrgThrowsOnAlpha()
S
76 1 4
testIsEmailReturnsTrue()
S
71 1 7
setUp()
S
77 1 4
testGetKeyThrowsWithMissing()
S
74 1 4
testMatchRegexThrowsOnIllegal()
S
69 1 7
testGetKeyThrowsWithInvalidProperty()
S
74 1 4
testGetKeyReturnsTrue()
S
66 1 9
testNotEmptyThrowsWithEmpty()
S
76 1 4
testNotEmptyThrowsWithSpaces()
S
76 1 4
testNotEmptyThrowsWithNewLine()
S
76 1 4
testNotEmptyReturnsTrue()
S
74 1 5
testMatchRegexReturnsTrue()
S
69 1 8
testLengthThrowsWithInvalidMax()
S
74 1 4
testOneOfThrowsWithoutMatch()
S
74 1 4
testOneOfReturnsTrue()
S
68 1 8
testIsIntThrowsWithAlpha()
S
76 1 4
testIsIntReturnsTrue()
S
71 1 7
testLengthThrowsWhenTooShort()
S
74 1 4
testLengthThrowsWhenTooLong()
S
74 1 4
testLengthThrowsWithNegativeMin()
S
74 1 4
testIsUuidThrowsIllegalValue()
S
76 1 4